<?php
    $this->load->helper('form');
?>

<!DOCTYPE HTML>
<html>
<head>
    <title>Add Task</title>
    <link href="<?=base_url(); ?>assets/libs/css/start/jquery.ui.css" rel="stylesheet">
    <link href="<?=base_url(); ?>assets/libs/css/fileuploader.css" rel="stylesheet">
    <style>
        label { display: block; }
        .text { margin-bottom: 12px; padding: 0.4em; width: 95%; }
        .qq-upload-bullet { float: left; margin-right: 10px; }
        .clear { clear: both; }
        .view-widget { width: 650px; }
        table { font-size: 12px; text-align: left; width: 100%; }
        td,th { padding: 5px;}
    </style>
</head>

<body>
<div class="ui-dialog ui-widget ui-widget-content ui-corner-all view-widget">
    <div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix">$task_name</div>
    <div class="ui-dialog-content ui-widget-content">
        <h2>Task Summary</h2>
        <table id="view-task-summary" class="ui-widget-content">
            <tbody>
                <tr>
                    <th>Created by</th><td>$user_id</td><th>Created on</th><td>date('Y-m-d',$task_created)</td><th>Project</th><td>$task_project</td>
                </tr>
                <tr>
                    <th>Assigned Users</th><td>$user_id</td><th>Priority</th><td>$task_priority</td><th>Parent Task</th><td>$task_parent</td>
                </tr>
                <tr>
                    <th>Est. Completion Date</th><td>$task_estcompletion</td><th>Time Remaining</th><td>$time_remaining</td><th></th><td></td>
                </tr>       
            </tbody>
        </table>
        <h2>Task Description</h2>
        <p>Lorem Ipsum</p>
        <h2>Task Images</h2>
        <p>Images go here</p>
        <h2>Task Comments</h2>
        <p>Comment form</p>
        <p>List Comments</p>
    </div>
</div>
<script src="<?=base_url(); ?>assets/libs/js/jquery.min.js"></script>
<script src="<?=base_url(); ?>assets/libs/js/jquery.ui.min.js"></script>
</body>

</html>


